//********************************************************************************************************** // EO.Web Script Library. Copyright (C) 2004-2006 Essential Objects, Inc. All rights reserved. // Visit Us on the Web: http://www.essentialobjects.com // Version: 3.1.6.2 //********************************************************************************************************** var eo_ff=-1;var eo_fg=-1;function _eofmea(a,b,c,d){this.afm=a;this.afn=new Array();this.afm.afo=this;this.afm.onmousedown=_eofmem;this.afm.onmouseup=_eofmen;this.afm.onkeydown=_eofmeo;this.afm.onkeyup=_eofmep;this.afm.onkeypress=_eofmeq;this.afm.onfocus=_eofmer;this.afm.onblur=_eofmes;this.afm.onselectstart=_eofmet;this.afm.ondragstart=_eofice;this.afm.onselect=_eofice;this.afp="\t"+b;this.afq=c;this.afr=d;}function _eofmeb(){this.afm.afo=this;this.afm.onmousedown=null;this.afm.onmouseup=null;this.afm.onkeydown=null;this.afm.onkeyup=null;this.afm.onkeypress=null;this.afm.onfocus=null;this.afm.onblur=null;this.afm.onselectstart=null;this.afm.ondragstart=null;this.afm.onselect=null;this.afm=null;}function _eofmec(){var a=this.afm.value;if(a){if(this.afm.createTextRange){var b=this.afm.createTextRange();b.moveEnd("character",-a.length);b.select();}else if(this.afm.setSelectionRange)this.afm.setSelectionRange(0,0);}}function _eofmed(){this.afn=new Array();this.afs=null;}function _eofmee(){this.aft();}function _eofmef(){var a="";if(this.afr)a=this.afr;else{for(var b=0;b=b)&&(c.aaz=b)&&(d=0)break;}if(c>=0){if(!this.afs)this.afm.focus();if(this.agp(a.shiftKey?-1:1,false))return true;}}if(_eofuci(b)||(b==eo_bh)){switch(b){case eo_bd:this.agp(-1,true);break;case eo_bf:this.agp(1,true);break;case eo_be:if(this.afs)this.afs.agq(1);this.aft();break;case eo_bg:if(this.afs)this.afs.agq(-1);this.aft();break;case eo_bh:if(this.afs){var f=this.afs.agr();if(f&2){this.aft();}if(f&1){this.agp(-1,true);}}break;}return true;}if(b==eo_bi){if(this.afs&&this.afs.t())this.aft();return true;}return false;}function _eofmeae(a){if(this.afm.readOnly)return;if(!this.agn()){if(this.ago(a))return false;}if(this.afs){this.afr=null;if(!a)a=window.event;if(this.afs.agd(a)){this.aft();}var b=_eofucj(a);if((b==9)||(b==27))return;_eoficy(this.afm,a);return false;}}function _eofmeaf(a){if(this.afm.readOnly)return;if(!this.afs){var b=_eofmebt();for(var c=0;c0){d++;if(d>=this.afn.length){if(b)d=0;else return false;}}else{d--;if(d<0){if(b)d=this.afn.length-1;else return false;}}var e=this.afn[d];if(e.agj())continue;this.agl(e);return true;}return false;}function _eofmeai(){return this.afn;}_eofmea.prototype.afk=_eofmeb;_eofmea.prototype.agm=_eofmec;_eofmea.prototype.afx=_eofmeg;_eofmea.prototype.agt=_eofmei;_eofmea.prototype.agu=_eofmeh;_eofmea.prototype.agv=_eofmej;_eofmea.prototype.aga=_eofmek;_eofmea.prototype.afy=_eofmel;_eofmea.prototype.agw=_eofmed;_eofmea.prototype.agx=_eofmee;_eofmea.prototype.aft=_eofmef;_eofmea.prototype.afv=_eofmeu;_eofmea.prototype.agg=_eofmew;_eofmea.prototype.agh=_eofmex;_eofmea.prototype.agl=_eofmev;_eofmea.prototype.bm=_eofmey;_eofmea.prototype.abh=_eofmez;_eofmea.prototype.agb=_eofmeaa;_eofmea.prototype.agn=_eofmeac;_eofmea.prototype.ago=_eofmead;_eofmea.prototype.agc=_eofmeab;_eofmea.prototype.agd=_eofmeae;_eofmea.prototype.age=_eofmeaf;_eofmea.prototype.agf=_eofmeag;_eofmea.prototype.agp=_eofmeah;_eofmea.prototype.agy=_eofmeai;function _eofmeaj(){}function _eofmeak(){return this.afw.afm;}function _eofmeal(){var a=this.agz();if(a.createTextRange){var b=this.aha();var c=a.createTextRange();c.moveStart("character",b);c.moveEnd("character",b+this.afy()-this.afw.afy());return c;}return null;}function _eofmeam(){if(this.afw.afr){this.agz().select();return;}var a=this.ahb();if(a)a.select();else{var b=this.agz();if(b.setSelectionRange){var c=this.aha();if(c>=0)b.setSelectionRange(c,c+this.afy());}}this.ahc=true;}function _eofmean(){this.ahc=false;this.ay();}function _eofmeao(){var a=0;for(var b=0;bd)d=a[e].length;}this.ahl=d;}function _eofmeax(){var a=this.ahj!=null?this.ahi[this.ahj]:"";return _eofmebn(a,this.ahl,false," ");}function _eofmeay(){return this.ahl;}function _eofmeaz(){return this.ahk;}function _eofmeba(a){this.ay();if(this.ahj==null)this.ahj=a;else this.ahj+=a;if(this.ahj>=this.ahi.length)this.ahj=this.ahi.length-1;if(this.ahj<0)this.ahj=0;this.ahf();}function _eofmebb(a){var b=_eofucj(a);for(var c=0;c0){e++;c=Math.floor(c/ 10);}this.afz=e;}function _eofmebe(a,b){if((this.ahn!=a)||(this.aho!=b)){this.ahn=a;this.aho=b;return true;}return false;}function _eofmebf(){var a;if(this.ahp!=null){a=parseInt(this.ahp);if(athis.aho){return _eofmebn(_eofmebo(this.aho,this.ahm),this.afz,true," ");}return _eofmebn(this.ahp,this.afz,true," ");}else{a=this.ahh();if(a!=null){var b=this.afw.afq;if(b&&b.ahq)return b.ahq(this,a);else return _eofmebn(_eofmebo(a,this.ahm),this.afz,true," ");}else{return _eofmebn("",this.afz,true," ");}}}function _eofmebg(){return this.afz;}function _eofmebh(a){if(this.ahp)this.aq=parseInt(this.ahp);if(this.aq==null)this.aq=a;else this.aq+=a;if(a>0){if(this.aq>this.aho)this.aq=this.ahn;}else{if(this.aq=48)&&(c<=57)){if(this.ahp==null)this.ahp="";this.ahp+=String.fromCharCode(c);if(this.ahp.length>this.afz)this.ahp=this.ahp.substr(this.ahp.length-this.afz);this.ahf();return true;}else return false;}function _eofmebj(){var a=this.ahp;if(a){a=parseInt(a);if(athis.aho)a=this.aho;this.aq=a;}this.ahp=null;}function _eofmebk(){if(!this.ahp&&this.aq)this.ahp=this.aq.toString();if(this.ahp){this.ahp=this.ahp.substr(0,this.ahp.length-1);if(this.ahp)return 2;else{this.aq=null;return 3;}}return 1;}function _eofmebl(){this.ahp=null;return true;}function _eofmebm(){var a=this.ahc&&this.ahp?parseInt(this.ahp):this.aq;if(a==null)return null;if(athis.aho)a=this.aho;return a;}_eofmebd.prototype=new _eofmeaj();_eofmebd.prototype.afu=_eofmebf;_eofmebd.prototype.afy=_eofmebg;_eofmebd.prototype.agj=_eofice;_eofmebd.prototype.agq=_eofmebh;_eofmebd.prototype.agd=_eofmebi;_eofmebd.prototype.ay=_eofmebj;_eofmebd.prototype.agr=_eofmebk;_eofmebd.prototype.t=_eofmebl;_eofmebd.prototype.ahr=_eofmebe;_eofmebd.prototype.ahh=_eofmebm;function _eofmebn(a,b,c,d){if(!a)a="";else b-=a.length;while(b>0){if(c)a=d+a;else a=a+d;b-=d.length;}return a;}function _eofmebo(a,b){return _eofmebn(a.toString(),b,true," ");}function _eofmebp(a){if(!a)a=window.event;if(!a)return false;var b=_eofucj(a);return a.shiftKey&&b==9;}function _eofmebq(){eo_ff=-1;eo_fg=-1;}function _eofmebr(a){_eofmebq();if(_eofmebp(a))eo_ff=_eofidp();}function _eofmebs(a){_eofmebq();if(_eofmebp(a))eo_fg=_eofidp();}function _eofmebt(){if((eo_ff>0)&&(eo_fg<0))return true;if((eo_fg>0)&&((_eofidp()-eo_fg)<200))return true;return false;}eo_LoadModules();if (!window.eo_modules)window.eo_modules="";window.eo_modules+="me|";